<?php declare(strict_types=1);

namespace Zyucv7\Components\Http;

class HttpException
{
    public static function curlErr(string $error)
    {
        return new \Exception('cURL Error: ' . $error);
    }

    public static function httpErr(string $error)
    {
        return new \Exception('Http Error: ' . $error);
    }

    public static function jsonErr(string $error)
    {
        return new \Exception('Json Error: ' . $error);
    }
}
